package com.example.daibanshiwu.Service;

import com.example.daibanshiwu.pojo.FileDTO;
import com.example.daibanshiwu.pojo.Message;
import com.example.daibanshiwu.pojo.MessageDetailDTO;
import com.example.daibanshiwu.pojo.ProcessingRecord;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface MatterService {

    List<Message> getMessage(int receiverUserId);

    void UpdateStatus(Integer messageId,String status);

    public ProcessingRecord createRecord(ProcessingRecord record, MultipartFile attachmentFile)throws IOException;

    MessageDetailDTO getMessageDetailById(Integer messageId);

    FileDTO getFileByMessageId(String messageId);
}
